home *** CD-ROM | disk | FTP | other *** search
- lock screen
- put the editBkgnd into bgTrue
- set the editBkgnd to true
- doMenu "New Field"
- set the editBkgnd to bgTrue
- put line 1 of info into newName
- put tempFldnNameSC into tname
- put number of bg fields into num
- set name of bg field num to tname
- set rect of bg field tname to line 2 of info
- put (item 1 of line 2 of info)&","&(item 2 of line 2 of info) into locB
- if locB > botright of cd then
- set loc of bg field tname to "50,50"
- end if
- set style of bg field tname to line 3 of info
- set showLines of bg field tname to line 4 of info
- set widemargins of bg field tname to line 5 of info
- set autoTab of bg field tname to line 6 of info
- set dontSearch of bg field tname to line 7 of info
- set dontWrap of bg field tname to line 8 of info
- set fixedLineHeight of bg field tname to line 9 of info
- set sharedText of bg field tname to line 10 of info
- set locktext of bg fld tname to line 11 of info
- set textFont of bg field tname to line 12 of info
- set textSize of bg field tname to line 13 of info
- set textAlign of bg field tname to line 14 of info
- set textStyle of bg field tname to line 15 of info
- put number of lines in info into y
- put line 16 of info into scriptLength
-
- put number of lines in info into y
- if line 17 of info is not "emptySC" then
- put line 17 to scriptLength+15 of info into scinfo
- set script of bg field tname to scinfo
- end if
- put line (scriptLength+16) to y of info into x
- put x into bg fld tname
- set name of bg field tname to newName